﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XCommunity.Documents.UBB
{
  public static class UbbTagExtension
  {

    public static UbbEndTag CreateEndTag( this UbbBeginTag beginTag )
    {
      return CreateEndTag( beginTag.TagName );
    }


    public static UbbEndTag CreateEndTag( string tagName )
    {
      return new UbbEndTag() { TagName = tagName };
    }
  }
}
